/**
 * @Author       : cxh
 * @Date         : 2021-12-28 15:21:16
 * @LastEditTime : 2021-12-28 16:04:18
 * @LastEditors  : cxh
 * @Description  : 123123
 * @FilePath     : \vue-wp-server-master\vue-wp-server-master\app\model\user.js
 */
'use strict';

module.exports = app => {
  const mongoose = app.mongoose;
  const Schema = mongoose.Schema;

  const UserSchema = new Schema({
    userName: { type: String },
    password: { type: String },
  });
  return mongoose.model('User', UserSchema);
};
